﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;

public class trueFalseUI : MonoBehaviour 
{	
	public bool isTrue;
	public Sprite trueSprite;
	public Sprite falseSprite;
	public Image image;

	public bool correct;

	void Awake()
	{
		image = GetComponent<Image> ();
	}

	public void True ()
	{	
		this.gameObject.SetActive (true);
		correct = true;
		image.sprite = trueSprite;
		isTrue = true;
	}

	public void False()
	{	
		this.gameObject.SetActive (true);
		correct = false;
		image.sprite = falseSprite;
		isTrue = false;
	}

}
